export default ()=>{
    let pages = getCurrentPages() // 获取栈实例
    let currentRoute  = pages[pages.length-1].route; // 获取当前页面路由
    let currentPage = pages[pages.length-1]['$page']
    return {
        currentRoute,
        currentPage,
        fullPath: currentPage.fullPath
    }

}
